package com.eportal.ORM;

/**
 * DeputyCashInfoView entity. @author MyEclipse Persistence Tools
 */

public class DeputyCashInfoView implements java.io.Serializable {

	// Fields

	private Integer deputyId;
	private String dpMerCode;
	private String dpTermId;
	private String merCode;
	private String termId;
	private String deputyType;
	private String typeMonth;
	private Long dptyAmt;
	private String dpMerSeqno;
	private String begDpDate;
	private String endDpDate;
	private Long dealAmt;
	private String state;
	private String createDt;
	private Long curDealAmt;
	private String curDealDate;
	private String porject;
	private String merCardId;
	private String mklId;
	private String mklMark;
	private String mklAdd;
	private String mklCom;
	private String mklAcc;
	private String mklBank;
	private String mklAccName;
	private String mklBankNo;
	private String mklLinkman;
	private String mklNo;
	private String mklPro;
	private String mklType;
	private String mklShopid;
	private String mklClass;
	private String mklMobile;
	private String mklMobileFlag;

	// Constructors

	/** default constructor */
	public DeputyCashInfoView() {
	}

	/** minimal constructor */
	public DeputyCashInfoView(Integer deputyId, String dpMerCode,
			String dpTermId, String merCode, String termId, String deputyType,
			Long dptyAmt, String dpMerSeqno, String state, String createDt) {
		this.deputyId = deputyId;
		this.dpMerCode = dpMerCode;
		this.dpTermId = dpTermId;
		this.merCode = merCode;
		this.termId = termId;
		this.deputyType = deputyType;
		this.dptyAmt = dptyAmt;
		this.dpMerSeqno = dpMerSeqno;
		this.state = state;
		this.createDt = createDt;
	}

	/** full constructor */
	public DeputyCashInfoView(Integer deputyId, String dpMerCode,
			String dpTermId, String merCode, String termId, String deputyType,
			String typeMonth, Long dptyAmt, String dpMerSeqno,
			String begDpDate, String endDpDate, Long dealAmt, String state,
			String createDt, Long curDealAmt, String curDealDate,
			String porject, String merCardId, String mklId, String mklMark,
			String mklAdd, String mklCom, String mklAcc, String mklBank,
			String mklAccName, String mklBankNo, String mklLinkman,
			String mklNo, String mklPro, String mklType, String mklShopid,
			String mklClass, String mklMobile, String mklMobileFlag) {
		this.deputyId = deputyId;
		this.dpMerCode = dpMerCode;
		this.dpTermId = dpTermId;
		this.merCode = merCode;
		this.termId = termId;
		this.deputyType = deputyType;
		this.typeMonth = typeMonth;
		this.dptyAmt = dptyAmt;
		this.dpMerSeqno = dpMerSeqno;
		this.begDpDate = begDpDate;
		this.endDpDate = endDpDate;
		this.dealAmt = dealAmt;
		this.state = state;
		this.createDt = createDt;
		this.curDealAmt = curDealAmt;
		this.curDealDate = curDealDate;
		this.porject = porject;
		this.merCardId = merCardId;
		this.mklId = mklId;
		this.mklMark = mklMark;
		this.mklAdd = mklAdd;
		this.mklCom = mklCom;
		this.mklAcc = mklAcc;
		this.mklBank = mklBank;
		this.mklAccName = mklAccName;
		this.mklBankNo = mklBankNo;
		this.mklLinkman = mklLinkman;
		this.mklNo = mklNo;
		this.mklPro = mklPro;
		this.mklType = mklType;
		this.mklShopid = mklShopid;
		this.mklClass = mklClass;
		this.mklMobile = mklMobile;
		this.mklMobileFlag = mklMobileFlag;
	}

	// Property accessors

	public Integer getDeputyId() {
		return this.deputyId;
	}

	public void setDeputyId(Integer deputyId) {
		this.deputyId = deputyId;
	}

	public String getDpMerCode() {
		return this.dpMerCode;
	}

	public void setDpMerCode(String dpMerCode) {
		this.dpMerCode = dpMerCode;
	}

	public String getDpTermId() {
		return this.dpTermId;
	}

	public void setDpTermId(String dpTermId) {
		this.dpTermId = dpTermId;
	}

	public String getMerCode() {
		return this.merCode;
	}

	public void setMerCode(String merCode) {
		this.merCode = merCode;
	}

	public String getTermId() {
		return this.termId;
	}

	public void setTermId(String termId) {
		this.termId = termId;
	}

	public String getDeputyType() {
		return this.deputyType;
	}

	public void setDeputyType(String deputyType) {
		this.deputyType = deputyType;
	}

	public String getTypeMonth() {
		return this.typeMonth;
	}

	public void setTypeMonth(String typeMonth) {
		this.typeMonth = typeMonth;
	}

	public Long getDptyAmt() {
		return this.dptyAmt;
	}

	public void setDptyAmt(Long dptyAmt) {
		this.dptyAmt = dptyAmt;
	}

	public String getDpMerSeqno() {
		return this.dpMerSeqno;
	}

	public void setDpMerSeqno(String dpMerSeqno) {
		this.dpMerSeqno = dpMerSeqno;
	}

	public String getBegDpDate() {
		return this.begDpDate;
	}

	public void setBegDpDate(String begDpDate) {
		this.begDpDate = begDpDate;
	}

	public String getEndDpDate() {
		return this.endDpDate;
	}

	public void setEndDpDate(String endDpDate) {
		this.endDpDate = endDpDate;
	}

	public Long getDealAmt() {
		return this.dealAmt;
	}

	public void setDealAmt(Long dealAmt) {
		this.dealAmt = dealAmt;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getCreateDt() {
		return this.createDt;
	}

	public void setCreateDt(String createDt) {
		this.createDt = createDt;
	}

	public Long getCurDealAmt() {
		return this.curDealAmt;
	}

	public void setCurDealAmt(Long curDealAmt) {
		this.curDealAmt = curDealAmt;
	}

	public String getCurDealDate() {
		return this.curDealDate;
	}

	public void setCurDealDate(String curDealDate) {
		this.curDealDate = curDealDate;
	}

	public String getPorject() {
		return this.porject;
	}

	public void setPorject(String porject) {
		this.porject = porject;
	}

	public String getMerCardId() {
		return this.merCardId;
	}

	public void setMerCardId(String merCardId) {
		this.merCardId = merCardId;
	}

	public String getMklId() {
		return this.mklId;
	}

	public void setMklId(String mklId) {
		this.mklId = mklId;
	}

	public String getMklMark() {
		return this.mklMark;
	}

	public void setMklMark(String mklMark) {
		this.mklMark = mklMark;
	}

	public String getMklAdd() {
		return this.mklAdd;
	}

	public void setMklAdd(String mklAdd) {
		this.mklAdd = mklAdd;
	}

	public String getMklCom() {
		return this.mklCom;
	}

	public void setMklCom(String mklCom) {
		this.mklCom = mklCom;
	}

	public String getMklAcc() {
		return this.mklAcc;
	}

	public void setMklAcc(String mklAcc) {
		this.mklAcc = mklAcc;
	}

	public String getMklBank() {
		return this.mklBank;
	}

	public void setMklBank(String mklBank) {
		this.mklBank = mklBank;
	}

	public String getMklAccName() {
		return this.mklAccName;
	}

	public void setMklAccName(String mklAccName) {
		this.mklAccName = mklAccName;
	}

	public String getMklBankNo() {
		return this.mklBankNo;
	}

	public void setMklBankNo(String mklBankNo) {
		this.mklBankNo = mklBankNo;
	}

	public String getMklLinkman() {
		return this.mklLinkman;
	}

	public void setMklLinkman(String mklLinkman) {
		this.mklLinkman = mklLinkman;
	}

	public String getMklNo() {
		return this.mklNo;
	}

	public void setMklNo(String mklNo) {
		this.mklNo = mklNo;
	}

	public String getMklPro() {
		return this.mklPro;
	}

	public void setMklPro(String mklPro) {
		this.mklPro = mklPro;
	}

	public String getMklType() {
		return this.mklType;
	}

	public void setMklType(String mklType) {
		this.mklType = mklType;
	}

	public String getMklShopid() {
		return this.mklShopid;
	}

	public void setMklShopid(String mklShopid) {
		this.mklShopid = mklShopid;
	}

	public String getMklClass() {
		return this.mklClass;
	}

	public void setMklClass(String mklClass) {
		this.mklClass = mklClass;
	}

	public String getMklMobile() {
		return this.mklMobile;
	}

	public void setMklMobile(String mklMobile) {
		this.mklMobile = mklMobile;
	}

	public String getMklMobileFlag() {
		return this.mklMobileFlag;
	}

	public void setMklMobileFlag(String mklMobileFlag) {
		this.mklMobileFlag = mklMobileFlag;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof DeputyCashInfoView))
			return false;
		DeputyCashInfoView castOther = (DeputyCashInfoView) other;

		return ((this.getDeputyId() == castOther.getDeputyId()) || (this
				.getDeputyId() != null
				&& castOther.getDeputyId() != null && this.getDeputyId()
				.equals(castOther.getDeputyId())))
				&& ((this.getDpMerCode() == castOther.getDpMerCode()) || (this
						.getDpMerCode() != null
						&& castOther.getDpMerCode() != null && this
						.getDpMerCode().equals(castOther.getDpMerCode())))
				&& ((this.getDpTermId() == castOther.getDpTermId()) || (this
						.getDpTermId() != null
						&& castOther.getDpTermId() != null && this
						.getDpTermId().equals(castOther.getDpTermId())))
				&& ((this.getMerCode() == castOther.getMerCode()) || (this
						.getMerCode() != null
						&& castOther.getMerCode() != null && this.getMerCode()
						.equals(castOther.getMerCode())))
				&& ((this.getTermId() == castOther.getTermId()) || (this
						.getTermId() != null
						&& castOther.getTermId() != null && this.getTermId()
						.equals(castOther.getTermId())))
				&& ((this.getDeputyType() == castOther.getDeputyType()) || (this
						.getDeputyType() != null
						&& castOther.getDeputyType() != null && this
						.getDeputyType().equals(castOther.getDeputyType())))
				&& ((this.getTypeMonth() == castOther.getTypeMonth()) || (this
						.getTypeMonth() != null
						&& castOther.getTypeMonth() != null && this
						.getTypeMonth().equals(castOther.getTypeMonth())))
				&& ((this.getDptyAmt() == castOther.getDptyAmt()) || (this
						.getDptyAmt() != null
						&& castOther.getDptyAmt() != null && this.getDptyAmt()
						.equals(castOther.getDptyAmt())))
				&& ((this.getDpMerSeqno() == castOther.getDpMerSeqno()) || (this
						.getDpMerSeqno() != null
						&& castOther.getDpMerSeqno() != null && this
						.getDpMerSeqno().equals(castOther.getDpMerSeqno())))
				&& ((this.getBegDpDate() == castOther.getBegDpDate()) || (this
						.getBegDpDate() != null
						&& castOther.getBegDpDate() != null && this
						.getBegDpDate().equals(castOther.getBegDpDate())))
				&& ((this.getEndDpDate() == castOther.getEndDpDate()) || (this
						.getEndDpDate() != null
						&& castOther.getEndDpDate() != null && this
						.getEndDpDate().equals(castOther.getEndDpDate())))
				&& ((this.getDealAmt() == castOther.getDealAmt()) || (this
						.getDealAmt() != null
						&& castOther.getDealAmt() != null && this.getDealAmt()
						.equals(castOther.getDealAmt())))
				&& ((this.getState() == castOther.getState()) || (this
						.getState() != null
						&& castOther.getState() != null && this.getState()
						.equals(castOther.getState())))
				&& ((this.getCreateDt() == castOther.getCreateDt()) || (this
						.getCreateDt() != null
						&& castOther.getCreateDt() != null && this
						.getCreateDt().equals(castOther.getCreateDt())))
				&& ((this.getCurDealAmt() == castOther.getCurDealAmt()) || (this
						.getCurDealAmt() != null
						&& castOther.getCurDealAmt() != null && this
						.getCurDealAmt().equals(castOther.getCurDealAmt())))
				&& ((this.getCurDealDate() == castOther.getCurDealDate()) || (this
						.getCurDealDate() != null
						&& castOther.getCurDealDate() != null && this
						.getCurDealDate().equals(castOther.getCurDealDate())))
				&& ((this.getPorject() == castOther.getPorject()) || (this
						.getPorject() != null
						&& castOther.getPorject() != null && this.getPorject()
						.equals(castOther.getPorject())))
				&& ((this.getMerCardId() == castOther.getMerCardId()) || (this
						.getMerCardId() != null
						&& castOther.getMerCardId() != null && this
						.getMerCardId().equals(castOther.getMerCardId())))
				&& ((this.getMklId() == castOther.getMklId()) || (this
						.getMklId() != null
						&& castOther.getMklId() != null && this.getMklId()
						.equals(castOther.getMklId())))
				&& ((this.getMklMark() == castOther.getMklMark()) || (this
						.getMklMark() != null
						&& castOther.getMklMark() != null && this.getMklMark()
						.equals(castOther.getMklMark())))
				&& ((this.getMklAdd() == castOther.getMklAdd()) || (this
						.getMklAdd() != null
						&& castOther.getMklAdd() != null && this.getMklAdd()
						.equals(castOther.getMklAdd())))
				&& ((this.getMklCom() == castOther.getMklCom()) || (this
						.getMklCom() != null
						&& castOther.getMklCom() != null && this.getMklCom()
						.equals(castOther.getMklCom())))
				&& ((this.getMklAcc() == castOther.getMklAcc()) || (this
						.getMklAcc() != null
						&& castOther.getMklAcc() != null && this.getMklAcc()
						.equals(castOther.getMklAcc())))
				&& ((this.getMklBank() == castOther.getMklBank()) || (this
						.getMklBank() != null
						&& castOther.getMklBank() != null && this.getMklBank()
						.equals(castOther.getMklBank())))
				&& ((this.getMklAccName() == castOther.getMklAccName()) || (this
						.getMklAccName() != null
						&& castOther.getMklAccName() != null && this
						.getMklAccName().equals(castOther.getMklAccName())))
				&& ((this.getMklBankNo() == castOther.getMklBankNo()) || (this
						.getMklBankNo() != null
						&& castOther.getMklBankNo() != null && this
						.getMklBankNo().equals(castOther.getMklBankNo())))
				&& ((this.getMklLinkman() == castOther.getMklLinkman()) || (this
						.getMklLinkman() != null
						&& castOther.getMklLinkman() != null && this
						.getMklLinkman().equals(castOther.getMklLinkman())))
				&& ((this.getMklNo() == castOther.getMklNo()) || (this
						.getMklNo() != null
						&& castOther.getMklNo() != null && this.getMklNo()
						.equals(castOther.getMklNo())))
				&& ((this.getMklPro() == castOther.getMklPro()) || (this
						.getMklPro() != null
						&& castOther.getMklPro() != null && this.getMklPro()
						.equals(castOther.getMklPro())))
				&& ((this.getMklType() == castOther.getMklType()) || (this
						.getMklType() != null
						&& castOther.getMklType() != null && this.getMklType()
						.equals(castOther.getMklType())))
				&& ((this.getMklShopid() == castOther.getMklShopid()) || (this
						.getMklShopid() != null
						&& castOther.getMklShopid() != null && this
						.getMklShopid().equals(castOther.getMklShopid())))
				&& ((this.getMklClass() == castOther.getMklClass()) || (this
						.getMklClass() != null
						&& castOther.getMklClass() != null && this
						.getMklClass().equals(castOther.getMklClass())))
				&& ((this.getMklMobile() == castOther.getMklMobile()) || (this
						.getMklMobile() != null
						&& castOther.getMklMobile() != null && this
						.getMklMobile().equals(castOther.getMklMobile())))
				&& ((this.getMklMobileFlag() == castOther.getMklMobileFlag()) || (this
						.getMklMobileFlag() != null
						&& castOther.getMklMobileFlag() != null && this
						.getMklMobileFlag()
						.equals(castOther.getMklMobileFlag())));
	}

	public int hashCode() {
		int result = 17;

		result = 37 * result
				+ (getDeputyId() == null ? 0 : this.getDeputyId().hashCode());
		result = 37 * result
				+ (getDpMerCode() == null ? 0 : this.getDpMerCode().hashCode());
		result = 37 * result
				+ (getDpTermId() == null ? 0 : this.getDpTermId().hashCode());
		result = 37 * result
				+ (getMerCode() == null ? 0 : this.getMerCode().hashCode());
		result = 37 * result
				+ (getTermId() == null ? 0 : this.getTermId().hashCode());
		result = 37
				* result
				+ (getDeputyType() == null ? 0 : this.getDeputyType()
						.hashCode());
		result = 37 * result
				+ (getTypeMonth() == null ? 0 : this.getTypeMonth().hashCode());
		result = 37 * result
				+ (getDptyAmt() == null ? 0 : this.getDptyAmt().hashCode());
		result = 37
				* result
				+ (getDpMerSeqno() == null ? 0 : this.getDpMerSeqno()
						.hashCode());
		result = 37 * result
				+ (getBegDpDate() == null ? 0 : this.getBegDpDate().hashCode());
		result = 37 * result
				+ (getEndDpDate() == null ? 0 : this.getEndDpDate().hashCode());
		result = 37 * result
				+ (getDealAmt() == null ? 0 : this.getDealAmt().hashCode());
		result = 37 * result
				+ (getState() == null ? 0 : this.getState().hashCode());
		result = 37 * result
				+ (getCreateDt() == null ? 0 : this.getCreateDt().hashCode());
		result = 37
				* result
				+ (getCurDealAmt() == null ? 0 : this.getCurDealAmt()
						.hashCode());
		result = 37
				* result
				+ (getCurDealDate() == null ? 0 : this.getCurDealDate()
						.hashCode());
		result = 37 * result
				+ (getPorject() == null ? 0 : this.getPorject().hashCode());
		result = 37 * result
				+ (getMerCardId() == null ? 0 : this.getMerCardId().hashCode());
		result = 37 * result
				+ (getMklId() == null ? 0 : this.getMklId().hashCode());
		result = 37 * result
				+ (getMklMark() == null ? 0 : this.getMklMark().hashCode());
		result = 37 * result
				+ (getMklAdd() == null ? 0 : this.getMklAdd().hashCode());
		result = 37 * result
				+ (getMklCom() == null ? 0 : this.getMklCom().hashCode());
		result = 37 * result
				+ (getMklAcc() == null ? 0 : this.getMklAcc().hashCode());
		result = 37 * result
				+ (getMklBank() == null ? 0 : this.getMklBank().hashCode());
		result = 37
				* result
				+ (getMklAccName() == null ? 0 : this.getMklAccName()
						.hashCode());
		result = 37 * result
				+ (getMklBankNo() == null ? 0 : this.getMklBankNo().hashCode());
		result = 37
				* result
				+ (getMklLinkman() == null ? 0 : this.getMklLinkman()
						.hashCode());
		result = 37 * result
				+ (getMklNo() == null ? 0 : this.getMklNo().hashCode());
		result = 37 * result
				+ (getMklPro() == null ? 0 : this.getMklPro().hashCode());
		result = 37 * result
				+ (getMklType() == null ? 0 : this.getMklType().hashCode());
		result = 37 * result
				+ (getMklShopid() == null ? 0 : this.getMklShopid().hashCode());
		result = 37 * result
				+ (getMklClass() == null ? 0 : this.getMklClass().hashCode());
		result = 37 * result
				+ (getMklMobile() == null ? 0 : this.getMklMobile().hashCode());
		result = 37
				* result
				+ (getMklMobileFlag() == null ? 0 : this.getMklMobileFlag()
						.hashCode());
		return result;
	}

}